package com.jckj.core.vos;

/**
 * Created by Administrator on 2018/1/4.
 */
public class LoginUserVo {

    private String id;

    private String officeId;

    private String loginName;

    private String name;

    private boolean isAdmin;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(boolean admin) {
        isAdmin = admin;
    }

    public void clear(){
        this.id = null;
        this.officeId = null;
        this.loginName = null;
        this.name = null;
        this.isAdmin = false;
    }
}
